package com.huafeng.config;

import com.huafeng.constant.ModelConstant;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 花风
 * @date 2023/4/12 12:02
 * @Description openAI配置
 */
@Data
@Configuration
@ConfigurationProperties("openai")
public class OpenAiConfig {
    //openai的模型
    private String model = ModelConstant.TEXT_DAVINCI_003;
    //apiKey
    private String apiKey;
}
